import request from '@/utils/request'

// 获取水质监测点列表
export function getWaterMonitoringPoints() {
  return request({
    url: '/system/water-quality/monitoring-points',
    method: 'get'
  })
}

// 获取不同水体的污染程度对比数据
export function getWaterQualityComparisonData(startTime, endTime) {
  return request({
    url: '/system/water-quality/water-quality-comparison-data',
    method: 'get',
    params: {
      startTime,
      endTime
    }
  })
}

// 获取水质指标的时间变化数据
export function getWaterQualityTimeData(pointId, startTime, endTime) {
  return request({
    url: '/system/water-quality/water-quality-time-data',
    method: 'get',
    params: {
      pointId,
      startTime,
      endTime
    }
  })
}